package cn.hinglo;


import com.jfinal.server.undertow.UndertowServer;

/**
 * @createTime: 2018/12/7
 * @author: HingLo
 * @description: 启动类
 */
public class PermissionApplication {
    public static void main(String[] args) {
        // 启动应用,配置全部移动到undertow.txt里面了
        UndertowServer.start(PermissionAdminConfig.class);
//        UndertowServer.create(PermissionAdminConfig.class).configWeb(webBuilder -> {
//            webBuilder.addWebSocketEndpoint(WebSocketController.class);
//        }).start();
    }
}
